package com.jt.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

//注解作用：动态的生成get/set/toString....方法
@Data//属性赋值：get/set方法
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
@Accessors(chain = true)
public class User {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;



}
